package com.qc.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.qc.dao.ActivityTimeDao;
import com.qc.entity.ActivityTimeEntity;
import com.qc.service.ActivityTimeService;

@Service("activityTimeService")
public class ActivityTimeServiceImpl implements ActivityTimeService{

	@Resource(name="activityTimeDao")
	private ActivityTimeDao activityTimeDao;
	
	@Override
	public int saveActivityTime(ActivityTimeEntity activityTime) {

		return activityTimeDao.saveActivityTime(activityTime);
	}

	@Override
	public List<ActivityTimeEntity> listAllActivityTime(int pageNo, int pageSize) {

		return activityTimeDao.listAllActivityTime(pageNo, pageSize);
	}

}
